interface user{
    name:String;
    age:number;
    school:String;
    add(a:number,b:number):number;
}
let Alice :user={
    name:"Alice",
    age:16,
    school:"xtu",
    add(a:number,b:number):number{
        return a+b;
    },
};
let Bob:user={...Alice,city:"湘潭"};
console.log(Object.entries(Bob));
console.log(Alice.add(1,3));
let a:String=Alice["school"];
let b:String=Alice.name;
console.log(a);
console.log(b);